<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<title>阿萨德</title>
</head>
<body>
	<input type="text" name="">
	<input type="date" name="">
	<input type="number" name="" maxlength="5" minlength="0" class="input">
	<select>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
		<option>lkhjvj</option>
	</select>
	<input type="file" name="" class="file">
	<button class="button">查看信息</button>
</body>
<script type="text/javascript">
	var inp = document.querySelector(".input");
	var file = document.querySelector(".file");
	var button = document.querySelector(".button");
	inp.focus()
	var app = new Promise((res)=>{
		setTimeout(()=>{
			res('这个是异步之后的输出值')
		},2000)
	})
	app.then((data)=>{
		console.log(data)
	})
	var flag = 0
	var app1 = {}
	var app2 = {}
	button.onclick = function () {
		console.log(file.files)
		

	}
//	console.log(Promise)
</script>
</html>